package com.roc.service;

import java.util.List;
import java.util.Map;

import com.roc.bean.BindMerOper;
import com.roc.bean.BindMerParams;
import com.roc.pojo.Operators;

/**
 * 前后端商户绑定
 * @author Administrator
 *
 */
public interface BindMchtService {
	
	/**
	 * 查询绑定商户数据
	 * @param params
	 * @param startRow
	 * @param maxRow
	 * @return
	 * @throws ServiceException
	 */
	public List<Object> queryBindList(BindMerParams params,int startRow, int maxRow) throws ServiceException;
	
	/**
	 * 查询绑定商户数量
	 * @param params
	 * @return
	 * @throws ServiceException
	 */
	public int queryBindListCount(BindMerParams params) throws ServiceException;
	
	/**
	 * 绑定商户操作
	 * @param logingMerchant 
	 * @param bindMerOper
	 * @throws ServiceException
	 */
	public Map<String,Object> bindMerchant(Operators logingMerchant, BindMerOper bindMerOper) throws ServiceException;
	
}
